package com.flx.mapper;

import entity.OperationLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName OperationLogDao
 *
 * @Author 23207
 * @Date 2025/4/24 14:02
 * @Version 1.0
 */
@Mapper
public interface OperationLogMapper {
  // 插入一条新日志
  @Insert("INSERT INTO operation_log(user_name,class_name,method_name,url,args,cose_time,create_time) " +
          "VALUES (#{userName},#{className},#{methodName},#{url},#{args},#{coseTime},#{createTime})")
  void insert(OperationLog operation);
}
